package cn.gaozhong.basic.mapper;


import cn.gaozhong.basic.query.BaseQuery;

import java.util.List;



public interface BaseMapper<T> {
    void save(T t);
    void update(T t);
    void deleteById(Long id);
    List<T> loadAll();
    T loadById(Long id);
    Long queryCount(BaseQuery query);
    List<T> queryDate(BaseQuery query);
    void patchRemove(List<Long> ids);
}
